package XZK010203AND001;

/**
 * @author bing.z 2021/5/28 20:25
 **/
public class UserServiceImpl implements UserService {
    @Override
    public void login(String username, String password) {
        if ("admin".equals(username) && "123".equals(password)) {
            System.out.println("登录成功！");
        } else {
            System.out.println("用户名或密码错误");
        }
    }
}
